all : main.o
	make -C database
	make -C net
	cp $^ ../../obj/server

main.o : main.c
	arm-none-linux-gnueabi-gcc -c $^ -o $@ -I../../include  -I./include

.PHONY:clean
clean:
	make clean -C net
	make clean -C database
	rm *.o
